package edu.sctu.xialei.May.day20150505one;

/**
 * Created by user14 on 2015/5/5.
 */
public class MainPrint {

    public static void main(String[] args) {



        People1 people1 = new People1(interfacce);

        people1.getHeight();
        people1.getAction();
        people1.getSex();
        people1.getName();
        people1.getWeight();

        people1.outPrint();


    }
    static Interfacce interfacce = new Interfacce() {
        @Override
        public void getInFo(String name, String sex, float height, float weight, String action) {

            System.out.println(name+"\n"+sex+"\n"+height+"\n"+weight+"\n"+action);
        }
    } ;


}
